MyFetchCompleted
Executes after an attempt to retrieve HTML data using theJMNewAppletLocator
function. This is how you would define your output function if you were to name itMyFetchCompleted
:
void MyFetchCompleted ( JMAppletLocatorRef ref, JMLocatorErrors status);
ref
- The newly created applet locator.
status
- The status of the HTML data retrieval. See "Applet Locator Status Values" for a listing of values that
JMNewAppletLocator
may pass in this parameter.DISCUSSION
When callingJMNewAppletLocator
, you must designate this function in the applet locator callbacks structure. The actions taken by the completion function depend on the status value it receives fromJMNewAppletLocator
. For example, if the HTML text is retrieved successfully, the function can then proceed to instantiate an applet associated with the HTML page.SEE ALSO
TheJMNewAppletLocator
function.